]> dgit.raspbian.org Git - gnome-shell.git/commit
overview: Don't expect time argument from drag-end signal
authorJonas Dreßler <verdre@v0yd.nl>
Wed, 23 Feb 2022 15:23:02 +0000 (16:23 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 23 Feb 2022 17:58:36 +0000 (17:58 +0000)
commitbb1ec88dfaf96f9eb08f0c787e669216a4aa312c
tree0381e11d9870a3b598bff61605d591ea1271bf8a
parent5d1b9a429e11260fed2d0064629452a6bcda73ad
overview: Don't expect time argument from drag-end signal

We actually don't get a time from the xdndHandler when it emits
drag-end, so we fail right now when calling
workspaceManager.get_workspace_by_index(time).

Fix it by getting the time ourselves instead.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2211>
js/ui/overview.js